* lisp/emacs-lisp/comp.el (comp-known-predicates): `functionp` can also
be true for `cons` objects.
(consp . cons)
(floatp . float)
(framep . frame)
- (functionp . (or function symbol))
+ (functionp . (or function symbol cons))
(hash-table-p . hash-table)
(integer-or-marker-p . integer-or-marker)
(integerp . integer)
(defun comp--pred-to-cstr (predicate)
"Given PREDICATE, return the corresponding constraint."
+ ;; FIXME: Unify those two hash tables?
(or (gethash predicate comp-known-predicates-h)
(gethash predicate (comp-cstr-ctxt-pred-type-h comp-ctxt))))